import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { PurchaseRoutingModule } from './purchase-routing.module';
import { PurchaseComponent } from './purchase.component';
import { PurchaseRequirementComponent } from './purchase-requirement/purchase-requirement.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { TextInputModule, ButtonModule, DataTableModule, DatepickerModule, InputNumberModule, PaginationModule, TooltipModule, FormModule, SelectModule, ToggleModule, ToastModule, TreeModule, ModalModule, CascaderModule, DropDownModule, UploadModule, DatepickerProModule, ProgressModule, ImagePreviewModule, SplitterModule } from 'ng-devui';
import { SharedModule } from 'src/app/@shared/shared.module';
import { PopoverModule } from 'ng-devui/popover';
import { PurchaseRequirementAddComponent } from './purchase-requirement/purchase-requirement-add/purchase-requirement-add.component';
import { PurchaseRequirementEditComponent } from './purchase-requirement/purchase-requirement-edit/purchase-requirement-edit.component';
import { PurchaseOrderComponent } from './purchase-order/purchase-order.component';
import { PurchaseOrderAddComponent } from './purchase-order/purchase-order-add/purchase-order-add.component';
import { SelectRequireComponent } from './purchase-order/select-require/select-require.component';
import { PurchaseArrivalComponent } from './purchase-arrival/purchase-arrival.component';
import { PurchaseOrderEditComponent } from './purchase-order/purchase-order-edit/purchase-order-edit.component';
import { PurchaseArrivalAddComponent } from './purchase-arrival/purchase-arrival-add/purchase-arrival-add.component';
import { PurchaseReturnComponent } from './purchase-return/purchase-return.component';
import { PurchaseReturnAddComponent } from './purchase-return/purchase-return-add/purchase-return-add.component';
import { PurchaseOutsourceOrderComponent } from './purchaseOut/purchase-outsource-order/purchase-outsource-order.component';
import { PurchaseArrivalEditComponent } from './purchase-arrival/purchase-arrival-edit/purchase-arrival-edit.component';
import { SelectPurchaseOrderComponent } from './purchase-arrival/select-purchase-order/select-purchase-order.component';
import { SelectArrivalComponent } from './purchase-return/select-arrival/select-arrival.component';
import { PurchaseReturnEditComponent } from './purchase-return/purchase-return-edit/purchase-return-edit.component';
import { PurchaseOutsourceOrderEditComponent } from './purchaseOut/purchase-outsource-order/purchase-outsource-order-edit/purchase-outsource-order-edit.component';
import { PurchaseOutsourceOrderAddComponent } from './purchaseOut/purchase-outsource-order/purchase-outsource-order-add/purchase-outsource-order-add.component';
import { PurchaseOutsourceArrivalComponent } from './purchaseOut/purchase-outsource-arrival/purchase-outsource-arrival.component';
import { PurchaseOutsourceArrivalAddComponent } from './purchaseOut/purchase-outsource-arrival/purchase-outsource-arrival-add/purchase-outsource-arrival-add.component';
import { SelectJobOrderProcessComponent } from './purchaseOut/select-job-order-process/select-job-order-process.component';
import { SelectPurchaseOutsourceOrderComponent } from './purchaseOut/purchase-outsource-arrival/select-purchase-outsource-order/select-purchase-outsource-order.component';
import { PurchaseOutcourceArrivaEditComponent } from './purchaseOut/purchase-outsource-arrival/purchase-outcource-arriva-edit/purchase-outcource-arriva-edit.component';
import { PurchaseOutsourceReturnComponent } from './purchaseOut/purchase-outsource-return/purchase-outsource-return.component';
import { PurchaseOutsourceReturnAddComponent } from './purchaseOut/purchase-outsource-return/purchase-outsource-return-add/purchase-outsource-return-add.component';
import { PurchaseOutsourceReturnEditComponent } from './purchaseOut/purchase-outsource-return/purchase-outsource-return-edit/purchase-outsource-return-edit.component';
import { SelectPurchaseOutArrivalComponent } from './purchaseOut/purchase-outsource-return/select-purchase-out-arrival/select-purchase-out-arrival.component';
import { PurchaseWorkbenchComponent } from './purchase-workbench/purchase-workbench.component';
import { DisApprovalReasonComponent } from './dis-approval-reason/dis-approval-reason.component';
import { PurchaseSettlementComponent } from './purchase-settlement/purchase-settlement.component';
import { AddPurchaseSettlementComponent } from './purchase-settlement/add-purchase-settlement/add-purchase-settlement.component';
import { EditPurchaseSettlementComponent } from './purchase-settlement/edit-purchase-settlement/edit-purchase-settlement.component';
import { IngredientReimbursementApprovalComponent } from './ingredient-reimbursement-approval/ingredient-reimbursement-approval.component';
import { IngredientReimbursementApprovalAddComponent } from './ingredient-reimbursement-approval/ingredient-reimbursement-approval-add/ingredient-reimbursement-approval-add.component';
import { PurchaseLedgerComponent } from './purchase-ledger/purchase-ledger.component';


@NgModule({
  declarations: [
    PurchaseComponent,
    PurchaseRequirementComponent,
    PurchaseRequirementAddComponent,
    PurchaseRequirementEditComponent,
    PurchaseOrderComponent,
    PurchaseOrderAddComponent,
    SelectRequireComponent,
    PurchaseArrivalComponent,
    PurchaseOrderEditComponent,
    PurchaseArrivalAddComponent,
    PurchaseReturnComponent,
    PurchaseReturnAddComponent,
    PurchaseOutsourceOrderComponent,
    PurchaseArrivalEditComponent,
    SelectPurchaseOrderComponent,
    PurchaseOutsourceOrderAddComponent,
    SelectArrivalComponent,
    PurchaseReturnEditComponent,
    PurchaseOutsourceOrderEditComponent,
    PurchaseOutsourceArrivalComponent,
    PurchaseOutsourceArrivalAddComponent,
    SelectJobOrderProcessComponent,
    SelectPurchaseOutsourceOrderComponent,
    PurchaseOutcourceArrivaEditComponent,
    PurchaseOutsourceReturnComponent,
    PurchaseOutsourceReturnAddComponent,
    PurchaseOutsourceReturnEditComponent,
    SelectPurchaseOutArrivalComponent,
    PurchaseWorkbenchComponent,
    DisApprovalReasonComponent,
    PurchaseSettlementComponent,
    AddPurchaseSettlementComponent,
    EditPurchaseSettlementComponent,
    IngredientReimbursementApprovalComponent,
    IngredientReimbursementApprovalAddComponent,
    PurchaseLedgerComponent,
  ],
  imports: [
    CommonModule,
    PurchaseRoutingModule,
    SharedModule,
    TextInputModule,
    ButtonModule,
    DataTableModule,
    DatepickerModule,
    InputNumberModule,
    PaginationModule,
    TooltipModule,
    FormModule,
    FormsModule,
    SelectModule,
    ToggleModule,
    ReactiveFormsModule,
    ToastModule,
    TreeModule,
    ModalModule,
    CascaderModule,
    ButtonModule,
    DropDownModule,
    UploadModule,
    DatepickerProModule,
    ProgressModule,
    ImagePreviewModule,
    SplitterModule,
    PopoverModule
  ]
})
export class PurchaseModule { }
